export default {
    namespaced:true,
    state(){
        return{
            url:'',
            isPlay: false,
            MusicList:[],
            Music:'',
            Volume:'',
            CurTime:'',
            duration:'',
            Curlength:'',
            progresslength:'',
            AutoNext:false,
            LYrIc:[]
        }
    },
    mutations:{
        getUrl(state,url){
            state.url = url
        },
        changeIsplay(state,isPlay){
            state.isPlay = isPlay
        },
        getmusic(state,music){
            state.Music = music
        },
        getCurTime(state,curtime){
            state.CurTime = curtime
        },
        getduration(state,duration){
            state.duration = duration
        },
        getVolume(state,volume){
            state.Volume = volume
        },
        changAutoNext(state,autoNext){
            state.AutoNext = autoNext
        },

    },
    getters:{

    },
    actions:{

    }
}